package cn.tedu.tedutest02202.controller;


import cn.tedu.tedutest02202.mapper.UserMapper;
import cn.tedu.tedutest02202.pojo.dto.UserDTO;
import cn.tedu.tedutest02202.service.EmailService;
import cn.tedu.tedutest02202.web.JsonResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {
//    @Autowired
//    UserMapper mapper;
//    @Autowired
//    EmailService userService;
//    @GetMapping("/add-new")
//    public JsonResult addNew(UserDTO dto){
//        log.debug("客户端传输的数据为：{}",dto);
//            //userService.insertNewUser(dto);
//            return JsonResult.ok();
//    }

}
